package com.cq.hd.app.vo;

import com.cq.hd.common.serialize.Decimal2Serializer;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

@Data
public class WithdrawalPreVo implements Serializable {

    // 可提佣金
    @ApiModelProperty(value = "可提佣金")
    @JsonSerialize(using = Decimal2Serializer.class)
    private BigDecimal commissionAmt = BigDecimal.ZERO;

    // 今日预估佣金 = 今天产生的推广订单预计可得佣金
    @ApiModelProperty(value = "今日预估佣金")
    @JsonSerialize(using = Decimal2Serializer.class)
    private BigDecimal dayEstimateAmt = BigDecimal.ZERO;

    // 本月预估佣金 = 本月产生的推广订单预计可得佣金
    @ApiModelProperty(value = "本月预估佣金")
    @JsonSerialize(using = Decimal2Serializer.class)
    private BigDecimal monthEstimateAmt = BigDecimal.ZERO;

    // 累计佣金 = 累计已结算的佣金
    @ApiModelProperty(value = "累计佣金")
    @JsonSerialize(using = Decimal2Serializer.class)
    private BigDecimal totalSettleAmt = BigDecimal.ZERO;

    @ApiModelProperty(value = "提现说明")
    private String description;

}
